-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: modify behaviours for the enable button for NIM. #3558
feat: modify behaviours for the enable button for NIM. #3558
Conversation
Hi @yzhao583. Thanks for your PR. I'm waiting for a opendatahub-io member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
39448bd
to
97e4f94
Compare
1bed0fd
to
7043b7e
Compare
/ok-to-test |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3558 +/- ##
==========================================
- Coverage 85.82% 85.75% -0.08%
==========================================
Files 1419 1419
Lines 32644 32678 +34
Branches 9167 9192 +25
==========================================
+ Hits 28018 28022 +4
- Misses 4626 4656 +30
... and 4 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
… show success banner, if it is false, show error banner
…/github.com/yzhao583/odh-dashboard into NVPE-37-fix-the-enable-button-loading-issue
/lgtm |
frontend/src/pages/exploreApplication/useIntegratedAppStatus.ts
Outdated
Show resolved
Hide resolved
…account is changed, and remove the interval to check the enablement status of the app in useIntegratedAppStatus hook
It looks like there is a typescript error with the most recent rebasing to include Olga's pr in I think we may want to make the properties |
@emilys314 I changed variablesValidationTimestamp and variablesValidationStatus to optional |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also make sure to run the linter / formatter
Okay I just tested it again and everything seems to be working /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: emilys314 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Jira: https://issues.redhat.com/browse/NVPE-37
Jira: https://issues.redhat.com/browse/NVPE-72
Description
How Has This Been Tested?
Test Impact
Explore
page, select theNVIDIA NIM
tile, and should see the Skeletonwhen loading. If NIM is enabled, theEnable
button should be hidden, if NIM is disabled but can be enabled, theEnable
button should be displayed, if NIM cannot be enabled, theEnable
button should be displayed but the button should be disabled, hover the button, the tooltip should be displayed.Enable
button, and the modal to enable NIM should be displayed. If no API key is provided, theSubmit
button should be disabled, otherwise, it should be enabled.Submit
button. If validation success, the modal should be closed and theEnable
button on theExplore
page should be hidden.Enable
page -> click thedisable
on the top-right corner of the NIM tile, the link to remove NIM from this page should NOT be seen.Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main